﻿using System;

namespace PhoneUI.Com.Modle
{
    /// <summary>
    /// 订单明细含进度
    /// </summary>
    public sealed class SaletaskMxAndJd
    {
        /// <summary>
        /// 订单分部ID
        /// </summary>
        public int scid { get; set; }
        /// <summary>
        /// 订单ID
        /// </summary>
        public int taskid { get; set; }
        /// <summary>
        /// 订单明细printid
        /// </summary>
        public int printid { get; set; }
        /// <summary>
        /// 物料ID
        /// </summary>
        public int mtrlid { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string mtrlcode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string mtrlname { get; set; }
        /// <summary>
        /// 物料规格
        /// </summary>
        public string mtrlmode { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string unit { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public decimal saleqty { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal enprice { get; set; }
        /// <summary>
        /// 折扣
        /// </summary>
        public decimal rebate { get; set; }
        /// <summary>
        /// 税率
        /// </summary>
        public decimal taxrate { get; set; }
        /// <summary>
        /// 交货日期
        /// </summary>
        public DateTime requiredate { get; set; }
        /// <summary>
        /// 配置
        /// </summary>
        public string status { get; set; }
        /// <summary>
        /// 配置1
        /// </summary>
        public string woodcode { get; set; }
        /// <summary>
        /// 配置2
        /// </summary>
        public string pcode { get; set; }
        /// <summary>
        /// 明细备注
        /// </summary>
        public string mxdscrp { get; set; }
        /// <summary>
        /// 明细备注2
        /// </summary>
        public string mxdscrp2 { get; set; }
        /// <summary>
        /// 生产批号
        /// </summary>
        public string mtrlcuscode { get; set; }
        /// <summary>
        /// 已发货数
        /// </summary>
        public decimal consignedqty { get; set; }
        /// <summary>
        /// 已开单未审数
        /// </summary>
        public decimal noauditqty { get; set; }
        /// <summary>
        /// 已排产数
        /// </summary>
        public decimal assignqty { get; set; }
        /// <summary>
        /// 终止数
        /// </summary>
        public decimal stopqty { get; set; }
        /// <summary>
        /// 已发货通知数
        /// </summary>
        public decimal saleoutqty { get; set; }
        /// <summary>
        /// 库存已分配数
        /// </summary>
        public decimal fpqty { get; set; }
        /// <summary>
        /// 参考库存分配数
        /// </summary>
        public decimal mqty { get; set; }
        /// <summary>
        /// 安排自制生产数
        /// </summary>
        public decimal pqty { get; set; }
        /// <summary>
        /// 安排采购数
        /// </summary>
        public decimal bqty { get; set; }
        /// <summary>
        /// 安排外协数
        /// </summary>
        public decimal wqty { get; set; }
        /// <summary>
        /// 安排来料加工生产数
        /// </summary>
        public decimal lqty { get; set; }
    }
}